// import Axios from 'axios'
import * as types from './types.js'

export default {
  /*更新用户登录状态*/
  set_user_state: ({ commit }, data) => {
    commit(types.SET_USER_STATE, data)
  },
  /*获取用户信息*/
  get_user_data: ({ commit }, data) => {
    commit(types.GET_USER_DATA, data)
  }
}
